package v1

import "github.com/gogf/gf/v2/frame/g"

type GetVersionReq struct {
	g.Meta `path:"/version" method:"get" tags:"Kubernetes" summary:"Get Kubernetes Version"`
}

type GetVersionRes struct {
	Version interface{} `json:"version" description:"Kubernetes Version"`
}

type GetClusterInfoReq struct {
	g.Meta `path:"/clusterInfo" method:"get" tags:"Kubernetes" summary:"Get Kubernetes cluster Info"`
}

type GetClusterInfoRes struct {
	Info interface{} `json:"info" description:"Kubernetes cluster Info"`
}

type GetNodeListReq struct {
	g.Meta `path:"/nodeList" method:"get" tags:"Kubernetes" summary:"Get Kubernetes node List"`
}

type GetNodeListRes struct {
	NodeList interface{} `json:"nodeList" description:"Kubernetes node List"`
}
